package com.woniu.p2p.service;

import com.woniu.p2p.entity.User;

import java.util.Date;

public interface P2PUserService {
    User findUserByName(String uname);

    int addUser(User user);

    User findMobile(String userPhone);

    User findUserCode(Integer userCode);

    void addIntergal(Integer userId);
    //支付宝充值
    void charge(String orderId, Date date, String orderAmount, String chargeType, String chargeStatus, String chargeContext, int userid);

}
